dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b63f28
)
Special:ChangeEmail: Set autofocus on new email field rather than password field
author
Alex Monk
<krenair@gmail.com>
Sun, 19 Apr 2015 14:29:48 +0000
(15:29 +0100)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sun, 19 Apr 2015 19:28:39 +0000
(19:28 +0000)
Bug: T96509
Change-Id: I657638509b9600a15bb8b6e7bb99f29340b3799e
includes/specials/SpecialChangeEmail.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialChangeEmail.php
b/includes/specials/SpecialChangeEmail.php
index
3ed3c04
..
babb315
100644
(file)
--- a/
includes/specials/SpecialChangeEmail.php
+++ b/
includes/specials/SpecialChangeEmail.php
@@
-92,14
+92,14
@@
class SpecialChangeEmail extends FormSpecialPage {
'NewEmail' => array(
'type' => 'email',
'label-message' => 'changeemail-newemail',
+ 'autofocus' => true
),
);
if ( $this->getConfig()->get( 'RequirePasswordforEmailChange' ) ) {
$fields['Password'] = array(
'type' => 'password',
- 'label-message' => 'changeemail-password',
- 'autofocus' => true,
+ 'label-message' => 'changeemail-password'
);
}